/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * DoctorAppointmentPanel.java
 *
 * Created on May 8, 2011, 1:22:40 AM
 */
package appshed.UI;

import java.awt.CardLayout;

/**
 *
 * @author Nithin
 */
public class DoctorAppointmentPanel extends javax.swing.JPanel {

    /** Creates new form DoctorAppointmentPanel */
    public DoctorAppointmentPanel() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        appointmentMonthlyViewPanel1 = new appshed.UI.AppointmentMonthlyViewPanel();

        setLayout(new java.awt.CardLayout());

        appointmentMonthlyViewPanel1.selectDateButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                //System.out.println("do save stuff here");
                //CardLayout cl = (CardLayout)(appointmentTab.getLayout());
                // cl.next(appointmentTab);
            }
        });
        add(appointmentMonthlyViewPanel1, "card2");
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private appshed.UI.AppointmentMonthlyViewPanel appointmentMonthlyViewPanel1;
    // End of variables declaration//GEN-END:variables
}
